﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JHoelsch.DataClases.DataBase
{
    public class TankQuittung : SerializableObject
    {
       [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, DataType = "date")]
        public DateTime Datum { get; set; }
        public int KMStand { get; set; }
        public double Liter { get; set; }
        public double Euro { get; set; }
        private TankStelle m_Tankstelle;
        public TankStelle Tankstelle
        {
            get
            {
                return this.m_Tankstelle;
            }
            set
            {
                DataHolder dh = DataHolder.Instance;
                m_Tankstelle = dh.addTankstelle(value);
            }
        }
    }
}
